<template>
	<view class="content">
		<view>
			<button  @tap="goback">返回上一页</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {
			// 获取参数方式
			let query = this.$Route.query;
			console.log(query)
		},
		methods: {
			// 无参数跳转
			goback(){
				this.$Router.back();
			},
		}
	}
</script>

<style>
	
</style>
